﻿<UserControl x:Class="DiscoveryLogic.Analytics.Modules.Entities.GrantView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Height="Auto" Width="Auto" HorizontalAlignment="Stretch">
    <Border 
        CornerRadius="10,10,0,0" BorderBrush="#3E606F" Background="Transparent" 
        BorderThickness="2" Padding="7">
        <StackPanel Orientation="Vertical">
            <StackPanel Orientation="Horizontal">
                <Image Source="../Images/Tools.png" Width="55" Height="55" 
					   HorizontalAlignment="Left" Margin="3"/>
            </StackPanel>
            <StackPanel>
                <Label>Grant number:</Label>
                <TextBox x:Name="txtGrantNumber" Margin="3,3,12,3" Text="{Binding GrantNumber}"/>
                <Label>Project ID:</Label>
                <TextBox x:Name="txtProjectID" Margin="3,3,12,3" Text="{Binding ProjectID}"/>
                <Label>FY:</Label>
                <TextBox x:Name="txtFY" Margin="3,3,12,3" Text="{Binding FY}"/>
                <Label>Support year:</Label>
                <TextBox x:Name="txtSupportYear" Margin="3,3,12,3" Text="{Binding SupportYear}"/>
                <Label>Title:</Label>
                <TextBox x:Name="txtTitle" Margin="3,3,12,3" Text="{Binding Title}"/>
                <Label>Comment:</Label>
                <TextBox x:Name="txtComment" Margin="3,3,12,3" Height="50" MinLines="1" MaxLines="3"/>
            </StackPanel>
        </StackPanel>

    </Border>
</UserControl>
